package service

import (
	"boy-go/modules/demo/vo"
	"boy-go/pkg/request"
)

type TSchoolService interface {
	GetById(id int64) (*vo.TSchoolModel, error)
	List(req *vo.QueryTSchoolReq, pageReq *request.PageRequest) (*vo.ListTSchoolRsp, error)
	Add(req *vo.AddTSchoolReq) (*vo.AddTSchoolRsp, error)
	Edit(req *vo.EditTSchoolReq) (*vo.EditTSchoolRsp, error)
	Del(id int64) error
	BatchDel(ids []string) error
}
